package com.rohoo.framework.bo;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

public class BaseObject implements Serializable {

	private static final long serialVersionUID = 1L;

	public String toString()
    {
        return ToStringBuilder.reflectionToString(this);
    }


    public boolean equals(Object o)
    {
        return EqualsBuilder.reflectionEquals(this, o);
    }

    public int hashCode(Object o)
    {
        return HashCodeBuilder.reflectionHashCode(this);
    }

}